<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache,must-revalidate" />
    <title>个人注册</title>
    <link type="text/css" rel="stylesheet"  href="{{asset('/home/css/register/--ui-base-1.0.0-ui-base.css')}}" />
    <script type="text/javascript">window.pageConfig = { compatible: true }; </script>
    <script type="text/javascript" src="{{asset('/home/css/register/--base-1.0.0-base.js')}}" >
    </script> 
    <script type="text/javascript" src="{{asset('admin/plugins/jQuery/jQuery-2.2.0.min.js')}}">
    </script> 
    <script>
        seajs.off("load");
        seajs.off("fetch");
        seajs.data.charset = 'gb2312';
    </script>
            <link type="text/css" rel="stylesheet"  href="{{asset('/home/css/register/--header-header.css,common-common.css,personal-reg-personal-reg.css,footer-footer.css')}}"  source="widget"/>
    </head>
<body>
<div class="header">
    <div class="logo-con w clearfix">
   
        <div class="logo-title" style="border-left:solid 1px white;"> <img src="{{$LOG}}">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;欢 迎 注 册</div>
        <div class="have-account">已有账号 <a href="{{asset('/login')}}">请登录</a></div>
    </div>

</div>
<div class="container w">

    <div class="main clearfix">
        <div class="reg-form fl">
            <form action="doregister" id="register-form" method="post">
                      {{csrf_field()}}
                    @if(session('error'))
                          <div class="form-item" style="border:1px solid red;background-image:url('/admin/bglogin/2.png');background-repeat:no-repeat;background-position: 5px 2px;background-color:#EEF3FA">
                              <div style="position:relative;top:1px;left:40px;color:red">{{session('error')}}</div>
                          </div>
                    @endif
                    <br>
                    @if(count($errors) > 0)
                          <div  class="form-item" style="border:1px solid red;background-image:url('/admin/bglogin/2.png');background-repeat:no-repeat;background-position: 5px 2px;background-color:#EEF3FA;float:left">
                              @foreach ($errors->all() as $error)
                                 <div style="position:relative;top:1px;left:40px;color:red;float:left">  {{ $error }}&nbsp;&nbsp;
                                 </div>
                              @endforeach
                          </div>
                          <br><br><br>
                    @endif
                    <div class="form-item form-item-account" id="form-item-account">
                        <label>用　户　名</label>
                        <input type="text" id="form-account" name="name" value="{{old('name')}}" class="field" autocomplete="off" maxlength="20"
                               placeholder="您的账户名和登录名" default='<i class="i-def"></i>支持中文、字母、数字、“-”“_”的组合，4-20个字符' />
                        <i class="i-status"></i>
                    </div>
                    <div class="input-tip">
                        <span></span>
                    </div>
                    <div class="form-item">
                        <label>设 置 密 码</label>
                        <input type="password" name="password"  id="form-pwd" class="field" maxlength="20"
                               placeholder="建议至少使用两种字符组合" default="<i class=i-def></i>建议使用字母、数字和符号两种及以上的组合，6-20个字符" />
                        <i class="i-status"></i>
                    </div>
                    <div class="input-tip">
                        <span></span>
                    </div>
                    <div class="form-item">
                        <label>确 认 密 码</label>
                        <input type="password" name="repassword" id="form-equalTopwd" class="field" placeholder="请再次输入密码"
                        maxlength="20" default='<i class="i-def"></i>请再次输入密码' />
                        <i class="i-status"></i>
                    </div>
                    <div class="input-tip">
                        <span></span>
                    </div>

                    <div class="item-phone-wrap">
                            <div class="form-item form-item-phone">
                                <label class="select-country" id="select-country" country_id="0086">中国 + 86<a href="javascript:void(0) "class="arrow"></a></label>
                                <input type="text" id="form-phone" name="phone" value="{{old('phone')}}" class="field" placeholder="建议使用常用手机"
                                       autocomplete="off" maxlength="11" default='<i class="i-def"></i>完成验证后，可以使用该手机登录和找回密码' />
                                <i class="i-status"></i>
                             </div>
                            <div class="input-tip">
                               <span></span>
                            </div>
                            <div class="orEmail">或 <a href="#">邮箱验证</a></div>
                    </div>  
                    <div class="form-item form-item-authcode">
                        <label>验　证　码</label>
                        <input type="text" autocomplete="off" name="code" id="authCode" maxlength="6" class="field form-authcode"
                               placeholder="请输入验证码" default='<i class="i-def"></i>看不清？点击图片更换验证码' />
                        <!--验证码start-->
                        <div class="img-code" style="padding-top:2px;">
                              <span class="clear-btn"></span>
                               <div class="col-sm-6 col-md-7">
                                <img id="vc" alt="点击刷新" src="{{asset('/createcode/1')}}" style="height:42px;padding-right:5px"/>
                              </div>
                              <script>
                                // alert($);
                                $('#vc').on('mouseover',function(){
                                    $(this).css('cursor','pointer');
                                });
                                $('#vc').on('click',function(){
                                    var rand=Math.random();
                                    var src="{{asset('/createcode/')}}"+'/'+Math.random();
                                    $(this).attr('src',src);
                                });
                              </script>
                        </div>
                        <!--验证码end-->
                    </div>                  
                    <div class="input-tip">
                        <span></span>
                    </div>
                    <div class="input-tip">
                        <span></span>
                    </div>
                    <div class="form-agreen">
                    <div><input type="checkbox" name="agreen" disabled checked="checked"/>我已阅读并同意<a href="#" id="protocol">《乌鸦用户注册协议》</a> </div>
                    <div class="input-tip">
                        <span></span>
                    </div>
                </div>
                <div>
                    <button type="submit" class="btn-register">立即注册</button>
                </div>
            </form>
        </div>
        <div class="reg-other">
            <div class="phone-fast-reg">
            </div>
              <div class="company-reg">
                    <a href="#"  target="_blank">
                        <i class="i-company"></i>
                        <span>企业用户注册</span>
                    </a>
                </div>
                <div class="inter-cust">
                    <a href="" target="_blank">
                        <i class="i-global"></i>
                        <span>INTERNATIONAL<br/>CUSTOMERS</span>
                    </a>
                </div>
             </div>
    </div>
</div>
<div class="footer w">
    <div class="links">
        <a rel="nofollow"  href="#" > 关于我们</a>|
        <a rel="nofollow"  href="#" >联系我们</a>|
        <a rel="nofollow"  href="#" >人才招聘</a>|
        <a rel="nofollow"  href="#" >商家入驻</a>|
        <a rel="nofollow"  href="#" >广告服务</a>|
        <a rel="nofollow"  href="#" >手机乌鸦</a>|
        <a target="_blank" href="#" >友情链接</a>|
        <a href="#" >销售联盟</a>|
        <a href="#" >乌鸦社区</a>|
        <a href="#" >乌鸦公益</a>|
        <a href="#"  clstag="pageclick|keycount|20150112ABD|9">English Site</a>
    </div>
    <div class="copyright">
        Copyright&copy;2004-2016&nbsp;&nbsp;乌鸦JD.com&nbsp;版权所有
    </div>
</div>
<script type="text/javascript" src="{{asset('home/js/register/--jquery-1.11.1.js')}}"></script>
<script type="text/javascript">
    var localmisc = $("#localmisc");
    if(1==localmisc.val()){
        seajs.use('../misc2016/js/localRegister', function (reg) {
            reg.init();
        })
    }else{
        seajs.use('../misc2016/js/register', function (reg) {
            reg.init();
        })
    }
</script>
        <script src="fp.html" ></script>
    <script src="{{asset('/home/js/register/md5.js')}}"></script>
    <script src="{{asset('/home/js/register/f.js')}}" ></script>
    <script type="text/javascript">
        $(function () {
            getJdEid(function (eid, fpid) {
                $("#eid").val(eid);
                $("#sessionId").val(fpid);
            });
        });
    </script>
    <a target="_blank" href="" class="feedback"
   style="margin-top: -85px; position: fixed; right: 0px; bottom: 50%;"></a>
    </body>
</html>


